package com.kady.Dao;

import com.kady.entity.Table;

import java.sql.SQLException;
import java.util.List;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/3/26
 * \* Time: 19:13
 * \* 千峰JAVA2101班
 * \* Description: 餐桌Dao
 * \
 */
public interface TableDao {
    List<Table> selectTableList(String keyword) throws SQLException;

    Table selectTable(String tableId) throws SQLException;

    void update(Object...objs) throws SQLException;

    void addTable(String tableName,byte status) throws SQLException;

    void deleteTable(String tableId) throws SQLException;

    List<Table> selectTableListByStatus(byte status) throws SQLException;
}
